package com.xcc.observerpattern.demo1;

/**
 * @Description: Observer
 * @Author: xiechuang
 * @Date: 2022/6/28
 */
public interface Observer {

    /**
     * 更新信息
     *
     * @param temp     温度值
     * @param humidity 湿度值
     * @param pressure 气压值
     */
    void update(float temp, float humidity, float pressure);

}
